$(function(){
    $(".cart-plus-minus .qtybutton").click(function(){     
            var price = $(this).parents("td").prev().children().text();
            var count = $(this).parent().children().val();
            $(this).parents("td").next().children().text(parseFloat(price*count));  
            var totals = $(".product-subtotal .amount");
            var total =0.0;
            for(var i=0;i<totals.length;i++){
                total= total + parseFloat(totals[i].innerHTML);
            }
            $(".mb-20 li span").text(total);    
    });
    $(".product-remove .fa fa-times").click(function(){

    });
})